package main

import (
	"fmt"
	"io/ioutil"
	"os"
)

func main() {
	data, _ := ReadFile("bigSlowOperation.go")
	fmt.Println(string(data))
}

func ReadFile(filename string) ([]byte, error) {
	file, err := os.Open(filename)
	if err != nil {
		print(err)
	}
	defer file.Close()
	return ioutil.ReadAll(file)
}
